home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 1 / QRZ Ham Radio Callsign Database - December 1993.iso / arrl / faqaudio.1 < prev    next >
Text File  |  1993-11-21  |  47KB  |  1,078 lines

  1. Newsgroups: alt.binaries.sounds.misc,alt.binaries.sounds.d,comp.dsp,news.answer
  2. s,comp.answers
  3. From: guido@cwi.nl (Guido van Rossum)
  4. Subject: FAQ: Audio File Formats (part 1 of 2)
  5. Followup-To: alt.binaries.sounds.d,comp.dsp
  6. Organization: CWI, Amsterdam
  7. Date: Mon, 27 Sep 1993 09:25:12 GMT
  8. Lines: 1065
  9.  
  10. Archive-name: audio-fmts/part1
  11. Submitted-by: Guido van Rossum <guido@cwi.nl>
  12. Version: 3.05
  13. Last-modified: 27-Sep-1993
  14.  
  15. FAQ: Audio File Formats =======================
  16.  
  17. Table of contents
  18. -----------------
  19.  
  20. Introduction
  21. Device characteristics
  22. Popular sampling rates
  23. Compression schemes
  24. Current hardware
  25. File formats
  26. File conversions
  27. Playing audio files on UNIX
  28. Playing audio files on micros
  29. The Sound Site Newsletter
  30. Posting sounds
  31.  
  32. Appendices (in part 2):
  33.  
  34. FTP access for non-internet sites
  35. AIFF Format (Audio IFF)
  36. The NeXT/Sun audio file format
  37. IFF/8SVX Format
  38. Playing sound on a PC
  39. The EA-IFF-85 documentation
  40. US Federal Standard 1016 availability
  41. Creative Voice (VOC) file format
  42. RIFF WAVE (.WAV) file format
  43. U-LAW and A-LAW definitions
  44. AVR File Format
  45. The Amiga MOD Format
  46.   
  47.  
  48. Introduction
  49. ------------
  50.  
  51. This is version 3 of this FAQ, which I started in November 1991 under
  52. the name "The audio formats guide".  I bumped the major version number
  53. again at the occasion of the split in two parts: part one is the main
  54. text and part two consists of the collection of appendices.
  55.  
  56. I am posting this about once a fortnight, either unchanged (just to
  57. inform new readers), or updated (if I learn more or when new hardware
  58. or software becomes popular).  I post to alt.binaries.sounds.{misc,d}
  59. and to comp.dsp, for maximal coverage of people interested in audio,
  60. and to {news,comp}.answers, for easy reference.
  61.  
  62. The entire FAQ is also available by anonymous ftp from ftp.cwi.nl
  63. [192.16.184.180], directory pub/audio, files AudioFormats.{part1,part2}.
  64.  
  65. BTW: All FAQs, including this one, are available for anonymous ftp on
  66. the archive site rtfm.mit.edu in directory /pub/usenet/news.answers/.
  67. The name under which a FAQ is archived appears in the "Archive-Name:"
  68. line at the top of the article.  This FAQ is archived as
  69. audio-fmts/part1.
  70.  
  71. A companion posting with subject "Changes to: ..." is occasionally
  72. posted listing the diffs between a new version and the last.  This is
  73. not reposted, and it is suppressed when the diffs are bigger than the
  74. new version.
  75.  
  76. This FAQ is also available in distributed hypertext form.  If you have
  77. a WWW browser and direct Internet access you can point it to
  78. "http://voorn.cwi.nl/audio-formats/a00.html".  (WWW is the CERN
  79. World-Wide Web initiative; for more info, telnet or ftp to
  80. info.cern.ch.)  You can also ftp the files from ftp.cwi.nl, directory
  81. /pub/www/audio-formats/.  (Due to lack of time for maintenance, the
  82. WWW version is currently out of date.  Sorry.)
  83.  
  84. Send updates, comments and questions to <guido@cwi.nl>.  I'd like to
  85. thank everyone who sent updates in the past.
  86.  
  87. --Guido van Rossum, CWI, Amsterdam <guido@cwi.nl>
  88.  
  89.  
  90. Device characteristics
  91. ----------------------
  92.  
  93. In this text, I will only use the term "sample" to refer to a single
  94. output value from an A/D converter, i.e., a small integer number
  95. (usually 8 or 16 bits).
  96.  
  97. Audio data is characterized by the following parameters, which
  98. correspond to settings of the A/D converter when the data was
  99. recorded.  Naturally, the same settings must be used to play the data.
  100.  
  101. - sampling rate (in samples per second), e.g. 8000 or 44100
  102.  
  103. - number of bits per sample, e.g. 8 or 16
  104.  
  105. - number of channels (1 for mono, 2 for stereo, etc.)
  106.  
  107. Approximate sampling rates are often quoted in Hz or kHz ([kilo-]
  108. Hertz), however, the politically correct term is samples per second
  109. (samples/sec).  Sampling rates are always measured per channel, so for
  110. stereo data recorded at 8000 samples/sec, there are actually 16000
  111. samples in a second.  I will sometimes write 8 k as a shorthand for
  112. 8000 samples/sec.
  113.  
  114. Multi-channel samples are generally interleaved on a frame-by-frame
  115. basis: if there are N channels, the data is a sequence of frames,
  116. where each frame contains N samples, one from each channel.  (Thus,
  117. the sampling rate is really the number of *frames* per second.)  For
  118. stereo, the left channel usually comes first.
  119.  
  120. The specification of the number of bits for U-LAW (pronounced mu-law
  121. -- the u really stands for the Greek letter mu) samples is somewhat
  122. problematic.  These samples are logarithmically encoded in 8 bits,
  123. like a tiny floating point number; however, their dynamic range is
  124. that of 12 bit linear data.  Source for converting to/from U-LAW
  125. (written by Jef Poskanzer) is distributed as part of the SOX package
  126. mentioned below; it can easily be ripped apart to serve in other
  127. applications.  The official definition is the CCITT standard G.711.
  128.  
  129. There exists another encoding similar to U-LAW, called A-LAW, which
  130. is used as a European telephony standard.  There is less support for
  131. it in UNIX workstations.
  132.  
  133. (See the Appendix for some formulae describing U-LAW and A-LAW.)
  134.  
  135.  
  136. Popular sampling rates
  137. ----------------------
  138.  
  139. Some sampling rates are more popular than others, for various reasons.
  140. Some recording hardware is restricted to (approximations of) some of
  141. these rates, some playback hardware has direct support for some.  The
  142. popularity of divisors of common rates can be explained by the
  143. simplicity of clock frequency dividing circuits :-).
  144.  
  145. Samples/sec     Description
  146.  
  147. 5500            One fourth of the Mac sampling rate (rarely seen).
  148.  
  149. 7333            One third of the Mac sampling rate (rarely seen).
  150.  
  151. 8000            Exactly 8000 samples/sec is a telephony standard that
  152.                 goes together with U-LAW (and also A-LAW) encoding.
  153.                 Some systems use an slightly different rate; in
  154.                 particular, the NeXT workstation uses 8012.8210513,
  155.                 apparently the rate used by Telco CODECs.
  156.  
  157. 11 k            Either 11025, a quarter of the CD sampling rate,
  158.                 or half the Mac sampling rate (perhaps the most
  159.                 popular rate on the Mac).
  160.  
  161. 16000           Used by, e.g. the G.722 compression standard.
  162.  
  163. 18.9 k          CD-ROM/XA standard.
  164.  
  165. 22 k            Either 22050, half the CD sampling rate, or the Mac
  166.                 rate; the latter is precisely 22254.545454545454 but
  167.                 usually misquoted as 22000.  (Historical note:
  168.                 22254.5454... was the horizontal scan rate of the
  169.                 original 128k Mac.)
  170.  
  171. 32000           Used in digital radio, NICAM (Nearly-Instantaneous
  172.                 Companded Audio Multiplex [IBA/BREMA/BBC]) and other
  173.                 TV work, at least in the UK; also long play DAT and
  174.                 Japanese HDTV.
  175.  
  176. 37.8 k          CD-ROM/XA standard for higher quality.
  177.  
  178. 44056           This weird rate is used by professional audio
  179.                 equipment to fit an integral number of samples in a
  180.                 video frame.
  181.  
  182. 44100           The CD sampling rate.  (DAT players recording
  183.                 digitally from CD also use this rate.)
  184.  
  185. 48000           The DAT (Digital Audio Tape) sampling rate for
  186.                 domestic use.
  187.  
  188. Files samples on SoundBlaster hardware have sampling rates that are
  189. divisors of 1000000.
  190.  
  191. While professinal musicians disagree, most people don't have a problem
  192. if recorded sound is played at a slightly different rate, say, 1-2%.
  193. On the other hand, if recorded data is being fed into a playback
  194. device in real time (say, over a network), even the smallest
  195. difference in sampling rate can frustrate the buffering scheme used...
  196.  
  197. There may be an emerging tendency to standardize on only a few
  198. sampling rates and encoding styles, even if the file formats may
  199. differ.  The suggested rates and styles are:
  200.  
  201.     rate (samp/sec) style mono/stereo
  202.  
  203.     8000 8-bit U-LAW mono
  204.     22050 8-bit linear unsigned mono and stereo
  205.     44100 16-bit linear signed mono and stereo
  206.  
  207.  
  208. Compression schemes
  209. -------------------
  210.  
  211. Strange though it seems, audio data is remarkably hard to compress
  212. effectively.  For 8-bit data, a Huffman encoding of the deltas between
  213. successive samples is relatively successful.  For 16-bit data,
  214. companies like Sony and Philips have spent millions to develop
  215. proprietary schemes.  Information about PASC (Philips' scheme) can be
  216. found in Advanced Digital Audio by Ken C. Pohlmann.
  217.  
  218. Public standards for voice compression are slowly gaining popularity,
  219. e.g. CCITT G.721 (ADPCM at 32 kbits/sec) and G.723 (ADPCM at 24 and 40
  220. kbits/sec).  (ADPCM == Adaptive Delta Pulse Code Modulation.)  Sun
  221. Microsoft has placed the source code of a portable implementation of
  222. these algorithms (as well as G.711, which defines A-LAW and U-LAW) in
  223. the public domain (needless to say, their proprietary implementation
  224. distributed in binary form with Solaris is better :-).  One place to
  225. ftp this source code from is ftp.cwi.nl:/pub/audio/ccitt-adpcm.tar.Z.
  226. Source for another 32 kbits/sec ADPCM implementation, assumed to be
  227. compatible with Intel's DVI audio format, can be ftp'ed from
  228. ftp.cwi.nl:/pub/audio/adpcm.shar.  (** NOTE: if you are using v1.0,
  229. you should get v1.1, released 17-Dec-1992, which fixes a serious bug
  230. -- the quality of v1.1 is claimed to be better than U-LAW **)
  231.  
  232. GSM 06.10 is a speech encoding in use in Europe that compresses 160
  233. 13-bit samples into 260 bits (or 33 bytes), i.e. 1650 bytes/sec (at
  234. 8000 samples/sec).  A free implementation can be ftp'ed from
  235. tub.cs.tu-berlin.de, file /pub/tubmik/gsm-1.0.tar.Z.
  236.  
  237. There are also two US federal standards, 1016 (Code excited linear
  238. prediction (CELP), 4800 bits/s) and 1015 (LPC-10E, 2400 bits/s).  See
  239. also the appendix for 1016.
  240.  
  241. Tony Robinson <ajr@eng.cam.ac.uk> has written a good FAST loss-less
  242. compression for lots of different audio formats (particularly good for
  243. WAV and MOD files).  The software is available by anonymous ftp from
  244. svr-ftp.eng.cam.ac.uk [129.169.24.20], directory misc, file
  245. shorten-1.08.tar.Z.
  246.  
  247. (Note that U-LAW and silence detection can also be considered
  248. compression schemes.)
  249.  
  250. Here's a note about audio codings by Van Jacobson <van@ee.lbl.gov>:
  251. Several people used the words "LPC" and "CELP" interchangably.  They
  252. are very different.  An LPC (Linear Predictive Coding) coder fits
  253. speech to a simple, analytic model of the vocal tract, then throws
  254. away the speech & ships the parameters of the best-fit model.  An LPC
  255. decoder uses those parameters to generate synthetic speech that is
  256. usually more-or-less similar to the original.  The result is
  257. intelligible but sounds like a machine is talking.  A CELP (Code
  258. Excited Linear Predictor) coder does the same LPC modeling but then
  259. computes the errors between the original speech & the synthetic model
  260. and transmits both model parameters and a very compressed
  261. representation of the errors (the compressed representation is an
  262. index into a 'code book' shared between coders & decoders -- this is
  263. why it's called "Code Excited").  A CELP coder does much more work
  264. than an LPC coder (usually about an order of magnitude more) but the
  265. result is much higher quality speech: The FIPS-1016 CELP we're working
  266. on is essentially the same quality as the 32Kb/s ADPCM coder but uses
  267. only 4.8Kb/s (the same as the LPC coder).
  268.  
  269. The comp.compression FAQ has some text on the 6:1 audio compression
  270. scheme used by MPEG (a video compression standard-to-be).  It's
  271. interesting to note that video compression reaches much higher ratios
  272. (like 26:1).  This FAQ is ftp'able from rtfm.mit.edu [18.72.1.58] in
  273. directory /pub/usenet/news.answers/compression-faq, files part1 and
  274. part2.
  275.  
  276. Comp.compression also carries a regular posting "How to uncompress
  277. anything" by David Lemson <lemson@uiuc.edu>, which (tersely) hints on
  278. which program you need to uncompress a file whose name ends in .<foo>
  279. for almost any conceivable <foo>.  Ftp'able from ftp.cso.uiuc.edu
  280. (128.174.5.59) in the directory /doc/pcnet as the file compression.
  281.  
  282. Documentation on a digital cellular telephone system by Qualcomm Inc.
  283. can be ftp'ed from ftp.qualcomm.com:/pub/cdma; the vocoder is in
  284. appendix A.
  285.  
  286. Apple has an Audio Compression/Expansion scheme called ACE (on the GS)
  287. / MACE (on the Macintosh).  It's a lossy scheme that attempts to
  288. predict where the wave will go on the next sample. There's very little
  289. quality change on 8:4 compression, somewhat more for 8:3.  It does
  290. guarantee exactly 50% or 62.5% compression, though.  I believe MACE
  291. uses larger ratios/more loss, but I'm unsure of the specific numbers.
  292. (Marc Sira)
  293.  
  294.  
  295. Current hardware
  296. ----------------
  297.  
  298. I am aware of the following computer systems that can play back and
  299. (sometimes) record audio data, with their characteristics.  Note that
  300. for most systems you can also buy "professional" sampling hardware,
  301. which supports much better quality, e.g. >= 44.1 k 16 bits stereo.
  302. The characteristics listed here are a rough estimate of the
  303. capabilities of the basic hardware only (and even here I am on thin
  304. ice, with systems becoming ever more powerful).
  305.  
  306. machine             bits            max sampling rate    #output channels
  307.  
  308. Mac (all types)     8               22k                  1
  309. Mac (newer ones)    16              64k                  4(128)
  310. Apple IIgs          8               32k / >70k           16(st)
  311. PC/soundblaster pro 8               ?/(22k st, 44.1k mo) 1(st)
  312. PC/soundblaster 16  16              44.1k                1(st)
  313. PC/pas              8               44.1k st, 88.2k mo   1(st)
  314. PC/pas-16           16              44.1k st, 88.2k mo   1(st)
  315. PC/turtle beach multisound 16       44.1k                1(st)
  316. PC/cards with aria chipset 16       44.1k                1(st)
  317. PC/roland rap-10    16              44.1k                1(st)
  318. Atari ST            8               22k                  1
  319. Atari STe,TT        8               50k                  2
  320. Atari Falcon 030    16              50k                  8(st)
  321. Amiga               8               varies above 29k     4(st)
  322. Sun Sparc           U-LAW           8k                   1
  323. Sun Sparcst. 10     U-LAW,8,16      48k                  1(st)
  324. NeXT                U-LAW,8,16      44.1k                1(st)
  325. SGI Indigo          8,16            48k                  4(st)
  326. SGI Indigo2         8,16            48k                  16(st,4-channel)
  327. Acorn Archimedes    ~U-LAW          ~180k                8(st)
  328. Sony NWS-3xxx       U,A,8,16        8-37.8k              1(st)
  329. Sony NWS-5xxx       U,A,8,16        8-48k                1(st)
  330. VAXstation 4000     U-LAW           8k                   1
  331. DEC 3000/300-500    U-LAW           8k                   1
  332. DEC 5000/20-25      U-LAW           8k                   1
  333. Tandy 1000/*L*      8               22k                  3
  334. Tandy 2500          8               22k                  3
  335. HP9000/705,710,425e U,A-LAW,16      8k                   1
  336. HP9000/715,725,735  U,A-LAW,16      48k                  1(st)
  337. HP9000/755 option:  U,A-LAW,16      48k                  1(st)
  338. NCD MCX terminal    U,A,8,16        ?                    1(st)
  339.  
  340. 4(st) means "four voices, stereo"; sampling rates xx/yy are
  341. different recording/playback rates; *L* is any type with 'L' in it.
  342.  
  343. All these machines can play back sound without additional hardware,
  344. although the needed software is not always standard; also, some
  345. machines need external hardware to record sound (or to record at
  346. higher quality, like the NeXT, whose built-in sampling hardware only
  347. does 8000 samples/sec in U-LAW).  Please don't send me details on
  348. optional or 3rd party hardware, there is too much and it is really
  349. beyond the scope of this FAQ.  In particular, there is a separate
  350. newsgroup devoted to PC sound cards: comp.sys.ibm.pc.soundcard, which
  351. includes FAQ of its own.
  352.  
  353. The new VAXstation 4000 (VLC and model 60) series lets you PLAY audio
  354. (.au) files, and the package DECsound will let you do the recording.
  355. In fact, DECsound is given away free with Motif 1.1 and supports the
  356. VAXstation, Sun SPARCstation, DECvoice, and DECaudio devices.  Sun
  357. sound files work without change.  The Alpha systems (DEC 3000 Model
  358. 300, 400, 500) also have DECsound bundled with Motif.
  359.  
  360. Notes for the DECstation 5000/20-25: You need either XMedia tools from
  361. DEC ($$$$), or the AudioFile package (which works nicely) from
  362. crl.dec.com (see below). The audio device is "/dev/bba", you cannot
  363. send ".au" files directly to the device, the Xmedia/AF software
  364. provide an "audioserver" which must be run to play/record sounds.
  365.  
  366. The SGI Personal IRIS 4D/30 and 4D/35 have the same capabilities as
  367. the Indigo. The audio board was optional on the 4D/30.
  368. The Indigo2 features are a superset of the Indigo features.
  369.  
  370. The new Apple Macs have more powerful audio hardware; the latest
  371. models have built-in microphones.
  372.  
  373. Software exists for the PC that can play sound on its 1-bit speaker
  374. using pulse width modulation (see appendix); the Soundblaster board
  375. records at rates up to 13 k and plays back up to 22 k (weird
  376. combination, but that's the way it is).
  377.  
  378. Here's some info about the newest Atari machine, the Falcon030.  This
  379. machine has stereo 16 bit CODECs and a 32 MHz Motorola 56001 that can
  380. handle 8 channels of 16 bit audio, up to 50 khz/channel with
  381. simultaneous playback and record.  The Falcon DMA sound engine is also
  382. compatible with the 8 bit stereo DMA used on the STe and TT. All of
  383. these systems use signed data.
  384.  
  385. On the NeXT, the Motorola 56001 DSP chip is programmable and you can
  386. (in principle) do what you want.  The SGI Indigo uses the same DSP chip but
  387. it can't be programmed by users -- SGI prefers to offer it as a shared
  388. system resource to multiple applications, thus enabling developers to
  389. program audio with their Audio Library and avoid code modifications
  390. for execution on future machines with different audio hardware, i.e. a
  391. different DSP. For example, the Indigo2 does not have a DSP chip.
  392.  
  393. The Amiga also has a 6-bit volume, which can be used to produce
  394. something like a 14-bit output for each voice.  The hardware can also
  395. use one of each voice-pair to modulate the other in FM (period) or AM
  396. (volume, 6-bits).
  397.  
  398. The Acorn Archimedes uses a variation on U-LAW with the bit order
  399. reversed and the sign bit in bit 0.  Being a 'minority' architecture,
  400. Arc owners are quite adept at converting sound/image formats from
  401. other machines, and it is unlikely that you'll ever encounter sound in
  402. one of the Arc's own formats (there are several).
  403.  
  404. The NCD MCX terminal has audio integrated with its X server.  The
  405. NCDAudio server is an extension of the X server, working together with
  406. it, with stress on the networking capability of sound transmission.
  407. The NCDAudio API provides format handling (ULAW8, Linear Unsig 8,
  408. Linear Sig 8, Linear Sig 16 MSB, Linear Unsig 16 MSB), flowing (to the
  409. server, from the server, to the i/o, from the i/o), wave form
  410. generators (Square, Sine, Saw, Constant) and the capability of area
  411. broadcast using UDP.  Provision for manipulating data files
  412. (SND, WAV, VOC & AU) is also provided.
  413.  
  414. CD-I machines form a special category.  The following formats are used:
  415.  
  416.      - PCM 44.1 kHz standard CD format
  417.      - ADPCM - Addaptive Delta PCM
  418.        - Level A 37.8 kHz 8-bit
  419.        - Level B 37.8 kHz 4-bit
  420.        - Level C 18.9 kHz 4-bit
  421.  
  422.  
  423. File formats
  424. ------------
  425.  
  426. Historically, almost every type of machine used its own file format
  427. for audio data, but some file formats are more generally applicable,
  428. and in general it is possible to define conversions between almost any
  429. pair of file formats -- sometimes losing information, however.
  430.  
  431. File formats are a separate issue from device characteristics.  There
  432. are two types of file formats: self-describing formats, where the
  433. device parameters and encoding are made explicit in some form of
  434. header, and "raw" formats, where the device parameters and encoding
  435. are fixed.
  436.  
  437. Self-describing file formats generally define a family of data
  438. encodings, where a header fields indicates the particular encoding
  439. variant used.  Headerless formats define a single encoding and usually
  440. allows no variation in device parameters (except sometimes sampling
  441. rate, which can be a pain to figure out other than by listening to the
  442. sample).
  443.  
  444. The header of self-describing formats contains the parameters of the
  445. sampling device and sometimes other information (e.g. a
  446. human-readable description of the sound, or a copyright notice).  Most
  447. headers begin with a simple "magic word".  (Some formats do not simply
  448. define a header format, but may contain chunks of data intermingled
  449. with chunks of encoding info.)  The data encoding defines how the
  450. actual samples are stored in the file, e.g. signed or unsigned, as
  451. bytes or short integers, in little-endian or big-endian byte order,
  452. etc.  Strictly spoken, channel interleaving is also part of the
  453. encoding, although so far I have seen little variation in this area.
  454.  
  455. Some file formats apply some kind of compression to the data, e.g.
  456. Huffman encoding, or simple silence deletion.
  457.  
  458. Here's an overview of popular file formats.
  459.  
  460.         Self-describing file formats
  461.         ----------------------------
  462.  
  463. extension, name   origin          variable parameters (fixed; comments)
  464.  
  465. .au or .snd       NeXT, Sun       rate, #channels, encoding, info string
  466. .aif(f), AIFF     Apple, SGI      rate, #channels, sample width, lots of info
  467. .aif(f), AIFC     Apple, SGI      same (extension of AIFF with compression)
  468. .iff, IFF/8SVX    Amiga           rate, #channels, instrument info (8 bits)
  469. .voc              Soundblaster    rate (8 bits/1 ch; can use silence deletion)
  470. .wav, WAVE        Microsoft       rate, #channels, sample width, lots of info
  471. .sf               IRCAM           rate, #channels, encoding, info
  472. none, HCOM        Mac             rate (8 bits/1 ch; uses Huffman compression)
  473. none, MIME        Internet        (see below)
  474. none, NIST SPHERE DARPA speech community (see below)
  475. .mod or .nst      Amiga           (see below)
  476.  
  477. Note that the filename extension ".snd" is ambiguous: it can be either
  478. the self-describing NeXT format or the headerless Mac/PC format, or
  479. even a headerless Amiga format.
  480.  
  481. I know nothing for sure about the origin of HCOM files, only that
  482. there are a lot of them floating around on our system and probably at
  483. FTP sites over the world.  The filenames usually don't have a ".hcom"
  484. extension, but this is what SOX (see below) uses.  The file format
  485. recognized by SOX includes a MacBinary header, where the file
  486. type field is "FSSD".  The data fork begins with the magic word "HCOM"
  487. and contains Huffman compressed data; after decompression it it is 8
  488. bits unsigned data.
  489.  
  490. IFF/8SVX allows for amplitude contours for sounds (attack/decay/etc).
  491. Compression is optional (and extensible); volume is variable; author,
  492. notes and copyright properties; etc.
  493.  
  494. AIFF, AIFC and WAVE are similar in spirit but allow more freedom in
  495. encoding style (other than 8 bit/sample), amongst others.
  496.  
  497. There are other sound formats in use on Amiga by digitizers and music
  498. programs, such as IFF/SMUS.
  499.  
  500. Appendices describes the NeXT and VOC formats; pointers to more info
  501. about AIFF, AIFC, 8SVX and WAVE (which are too complex to describe
  502. here) are also in appendices.
  503.  
  504. DEC systems (e.g. DECstation 5000) use a variant of the NeXT format
  505. that uses little-endian encoding and has a different magic number
  506. (0x0064732E in little-endian encoding).
  507.  
  508. Standard file formats used in the CD-I world are IFF but on the disc
  509. they're in realtime files.
  510.  
  511. An interesting "interchange format" for audio data is described in the
  512. proposed Internet Standard "MIME", which describes a family of
  513. transport encodings and structuring devices for electronic mail.  This
  514. is an extensible format, and initially standardizes a type of audio
  515. data dubbed "audio/basic", which is 8-bit U-LAW data sampled at 8000
  516. samples/sec.
  517.  
  518. The "IRCAM" sound file system has now been superseded by the so-called
  519. "BICSF" (for Berkeley/IRCAM/CARL Sound File system) software release.
  520. More recently, there has been an effort at Princeton (Prof. Paul
  521. Lansky) and Stanford (Stephen Travis Pope) to standardize several
  522. extensions to BICSF.  A description of BICSF and the
  523. Princeton/Stanford extensions is available by anonymous ftp from
  524. ftp.cwi.nl [192.16.184.180], in directory /pub/audio/BICSF-info.  This
  525. file contains further ftp pointers to software.
  526.  
  527. A sound file format popular in the DARPA speech community is the NIST
  528. SPHERE standard.  The most recent version of the SPHERE package is
  529. available via anonymous ftp from jaguar.ncsl.nist.gov [129.6.48.157]
  530. in compressed tar form as "sphere-v.tar.Z" (where "v" is the version
  531. code).  The NIST SPHERE header is an object-oriented, 1024-byte
  532. blocked, ASCII structure which is prepended to the waveform data.  The
  533. header is composed of a fixed-format portion followed by an
  534. object-oriented variable portion.  I have placed a short description
  535. of NIST SPHERE on ftp.cwi.nl:/pub/audio/NIST-SPHERE.
  536.  
  537. Finally, a somewhat different but popular format are "MOD" files,
  538. usually with extension ".mod" or ".nst" (they can also have a prefix
  539. of "mod.").  This originated at the Amiga but players now exist for
  540. many platforms.  MOD files are music files containing 2 parts: (1) a
  541. bank of digitized samples; (2) sequencing information describing how
  542. and when to play the samples.  See the appendix "The Amiga MOD Format"
  543. for a description of this file format (and pointers to ftp'able
  544. players and example MOD files).
  545.  
  546.         Headerless file formats
  547.         -----------------------
  548.  
  549. extension       origin          parameters
  550. or name
  551.  
  552. .snd, .fssd     Mac, PC         variable rate, 1 channel, 8 bits unsigned
  553. .ul             US telephony    8 k, 1 channel, 8 bit "U-LAW" encoding
  554. .snd?           Amiga           variable rate, 1 channel, 8 bits signed
  555.  
  556. It is usually easy to distinguish 8-bit signed formats from unsigned
  557. by looking at the beginning of the data with 'od -b <file | head';
  558. since most sounds start with a little bit of silence containing small
  559. amounts of background noise, the signed formats will have an abundance
  560. of bytes with values 0376, 0377, 0, 1, 2, while the unsigned formats
  561. will have 0176, 0177, 0200, 0201, 0202 instead.  (Using "od -c" will
  562. also show any headers that are tacked in front of the file.)
  563.  
  564. The Apple IIgs records raw data in the same format as the Mac, but
  565. uses a 0 byte as a terminator; samples with value 0 are replaced by 1.
  566.  
  567.         Sound formats and the Apple Macintosh
  568.         -------------------------------------
  569.  
  570. (Thanks to Bill Houle, <Bill.Houle@SanDiegoCA.NCR.COM>)
  571.  
  572.                              SOX/DOS   MAC
  573. Sound Format           file ext  type  Mac program to convert to 'snd'
  574. ---------------------- --------  ----  -------------------------------
  575. Mac snd                .snd      sfil  [n/a]
  576. Amiga IFF/8SVX         .iff            AmigaSndConverter, BST
  577. Amiga SoundTracker     .mod      STrk  ModVoicer
  578. Audio IFF              .aiff     AIFF  SoundExtractor, Sample Editor,
  579.                                        UUTool, BST, M5Mac
  580. DSP Designer                     DSPs  SoundHack
  581. IRCAM                  .sf       IRCM  SoundHack
  582. MacMix                           MSND  SoundHack
  583. RIFF WAVE              .wav            SoundExtractor, BST, Balthazar
  584. SoundBlaster           .voc            SoundExtractor, BST
  585. SoundDesigner/AudioMedia         Sd2f  SoundHack
  586. Sound[Edit|Cap|Wave]   .hcom     FSSD  SoundExtractor, SoundEdit,
  587.                                        Wavicle, BST
  588. Sun uLaw/Next .snd     .au/.snd  NxTS  SoundExtractor, SoundHack,
  589.                                        au<->snd, UUTool, BST
  590.  
  591.  
  592. File conversions
  593. ----------------
  594.  
  595.         SOX (UNIX, PC, Amiga)
  596.         ---------------------
  597.  
  598. The most versatile tool for converting between various audio formats
  599. is SOX ("Sound Exchange").  It can read and write various types of
  600. audio files, and optionally applies some special effects (e.g. echo,
  601. channel averaging, or rate conversion).
  602.  
  603. SOX recognizes all filename extensions listed above except ".snd",
  604. which would be ambiguous anyway, and ".wav" (but there's a patch, see
  605. below).  Use type ".au" for NeXT ".snd" files.  Mac and PC ".snd"
  606. files are completely described by these parameters:
  607.  
  608.         -t raw -b -u -r 11000
  609.  
  610. (or -r 22000 or -r 7333 or -r 5500; 11000 seems to be the most common
  611. rate).
  612.  
  613. The source for SOX, version 6, platchlevel 8, was posted to
  614. alt.sources, and should be widely archived.  (Patch 9 was posted later
  615. and incporporates some important .wav fixes.)  To save you the trouble
  616. of hunting it down, it can be gotten by anonymous ftp from
  617. wuarchive.wustl.edu, in the directory usenet/alt.sources/articles,
  618. files 7288.Z through 7295.Z.  (These files are compressed news
  619. articles containing shar files, if you hadn't guessed.)  I am sure
  620. many sites have similar archives, I'm just listing one that I know of
  621. and which carries a lot of this kind of stuff.  (Also see the appendix
  622. if you don't have Internet access.)
  623.  
  624. A compressed tar file containing the same version of SOX is available
  625. by anonymous ftp from ftp.cwi.nl [192.16.184.180], in directory
  626. /pub/audio/sox7.tar.Z.  You may be able to locate a nearer version
  627. using archie!
  628.  
  629. Ports of SOX:
  630.  
  631. - The source as posted should compile on any UNIX and PC system.
  632.  
  633. - A PC version is available by ftp from ftp.cwi.nl (see above) as
  634.   pub/audio/sox5dos.zip; also available from the garbo mail server.
  635.  
  636. - The latest Amiga SOX is available via anonymous ftp to
  637.   wuarchive.wustl.edu, files systems/amiga/audio/utils/amisox*.  (See
  638.   below for a non-SOX solution.)
  639.   The final release of r6 will compile as distributed on the Amiga with
  640.   SAS/C version 6.  Binaries (since many Amiga users do not own
  641.   compilers) will continue to be available for FTP.
  642.  
  643. SOX usage hints:
  644.  
  645. - Often, the filename extension of sound files posted on the net is
  646.   wrong.  Don't give up, try a few other possibilities using the
  647.   "-t <type>" option.  Remember that the most common file type is
  648.   unsigned bytes, which can be indicated with "-t ub".  You'll have to
  649.   guess the proper sampling rate, but often it's 11k or 22k.
  650.  
  651. - In particular, with SOX version 4 (or earlier), you have to
  652.   specify "-t 8svx" for files with an .iff extension.
  653.  
  654. - When converting linear samples to U-LAW using the .au type for the
  655.   output file, you must specify "-U" for the output file, otherwise
  656.   you will end up with a file containing a NeXT/Sun header but linear
  657.   samples -- only the NeXT will play such files correctly.  Also, you
  658.   must explicitly specify an output sampling rate with "-r 8000".
  659.   (This may seem fixed for most cases in version 5, but it is still
  660.   occasionally necessary, so I'm keeping this warning in.)
  661.  
  662.         Sun Sparc
  663.         ---------
  664.  
  665. On Sun Sparcs, starting at SunOS 4.1, a program "raw2audio" is
  666. provided by Sun (in /usr/demo/SOUND -- see below) which takes a raw
  667. U-LAW file and turns it into a ".au" file by prefixing it with an
  668. appropriate header.
  669.  
  670.         NeXT
  671.         ----
  672.  
  673. On NeXTs, you can usually rename .au files to .snd and it'll work like
  674. a charm, but some .au files lack header info that the NeXT needs.
  675. This can be fixed by using sndconvert:
  676.  
  677.         sndconvert -c 1 -f 1 -s 8012.8210513 -o nextfile.snd sunfile.au
  678.  
  679.         SGI Indigo and Personal IRIS
  680.         ----------------------------
  681.  
  682. SGI supports "soundfiler" (in /usr/sbin), a program similar in
  683. spirit to SOX but with a GUI.  Soundfiler plays aiff, aifc, NeXT/Sun
  684. and .wav formats.  It can do conversions between any of these formats
  685. and to and from raw formats including mulaw.  It also does sample rate
  686. conversions.
  687.  
  688. Three shell commands are also provided that give the same functionality:
  689. "sfplay", "sfconvert", and "aifcresample" (all in /usr/sbin).
  690.  
  691.         Amiga
  692.         -----
  693.  
  694. Mike Cramer's SoundZAP can do no effects except rate change and it
  695. only does conversions to IFF, but it is generally much faster than
  696. SOX.  (Ftp'able from the same directory as amisox above.)
  697.  
  698. Newer versions of OmniPlay (see below) will also convert to IFF.
  699.  
  700.         Tandy
  701.         -----
  702.  
  703. The Tandy 1000 uses a (proprietary?) compressed format.  There is a PD
  704. Mac to Tandy conversion program called CONVERT.  Leonard Erickson
  705. <leonard@qiclab.scn.rain.com> writes: There is a WAV driver from Tandy
  706. if people ask.  There also appears to be a program that purports to
  707. convert other formats to Tandy, but I haven't tested this one yet.
  708.  
  709.         Apple Macintosh
  710.         ---------------
  711.  
  712. Bill Houle sent the following list:
  713.  
  714. Popular commercial apps are indicated with a [*].  All other programs
  715. mentioned are shareware/freeware available from SUMEX and the various
  716. mirror sites, or check archie for the nearest FTP location.
  717.  
  718. MAC SOUND CONVERSION PROGRAMS
  719.  
  720. SoundHack [Tom Erbe, tom@mills.edu]
  721.   Can read/write Sound Designer II, Audio IFF, IRCAM, DSP Designer and NeXT 
  722.   .snd (or Sun .au); 8-bit uLaw, 8-bit linear, 32-bit floating point and 16-bit
  723.   linear data encoding.  Can read (but not write) raw data files.  Implements
  724.   soundfile convolution, a phase vocoder, a binaural filter and an amplitude 
  725.   analysis & gain change module.
  726.  
  727. SoundExtractor [Alberto Ricci, FRicci@polito.it]
  728.   Extracts 'snd' resources, AIFF, SoundEdit, VOC, and WAV data from
  729.   practically anything, converting to 'snd' files.
  730.  
  731. Balthazar [Craig Marciniak, AOL:TemplarDev]
  732.   Converts WAV files to 'snd'.
  733.   
  734. Brian's Sound Tool [Brian Scott, bscott@ironbark.ucnv.edu.au]
  735.   Converts 'snd' or SoundEdit to WAV.  Can also convert WAV, VOC, AIFF, Amiga
  736.   8SVX and uLaw to 'snd'.
  737.  
  738. AmigaSndConverter [Povl H. Pederson, eco861771@ecostat.aau.dk]
  739.   Converts Amiga IFF/8SVX to Mac 'snd'.
  740.  
  741. au<->Mac [Victor J. Heinz, vic:wbst128@xerox.com]
  742.   Converts Sun uLaw to Mac 'snd'.
  743.   
  744. ULAW [Rod Kennedy, rod@faceng.anu.edu.au]
  745.   Converts 'snd' to Sun uLaw.
  746.  
  747. UUTool [Bernie Wieser, wieser@acs.ucalgary.ca]
  748.   Primarily a uuencode/decode program, but in true Swiss Army Knife
  749.   fashion can also read/write Sun uLaw, AIFF, and 'snd' files.
  750.  
  751. ModVoicer [Kip Walker, Kip_Walker@mcimail.com]
  752.   Converts Amiga MOD voices into SoundEdit files or 'snd' resources.
  753.  
  754. Music 5 Mac [Simone Bettini, space@maya.dei.unipd.it]
  755.   Primarily a Music Synthesis system, but can also convert between 'snd', AIFF,
  756.   and IBM .DAT(?).
  757.  
  758.  
  759. Playing audio files on UNIX
  760. ---------------------------
  761.  
  762. The commands needed to play an audio file depend on the file format
  763. and the available hardware and software.  Most systems can only
  764. directly play sound in their native format; use a conversion program
  765. (see above) to play other formats.
  766.  
  767.         Sun Sparcstation running SunOS 4.x
  768.         ----------------------------------
  769.  
  770. Raw U-LAW files can be played using "cat file >/dev/audio".
  771.  
  772. A whole package for dealing with ".au" files is provided by Sun on an
  773. experimental basis, in /usr/demo/SOUND.  You may have to compile the
  774. programs first.  (If you can't find this directory, either you are not
  775. running SunOS 4.1 yet, or your system administrator hasn't installed
  776. it -- go ask him for it, not me!)  The program "play" in this
  777. directory recognizes all files in Sun/NeXT format, but a SS 1 or 2 can
  778. play only those using U-LAW encoding at 8 k -- the SS 10 hardware
  779. plays other encodings, too.
  780.  
  781. If you ca't find "play", you can also cat a ".au" file to /dev/audio,
  782. if it uses U-LAW; the header will sound like a short burst of noise
  783. but the rest of the data will sound OK (really, the only difference in
  784. this case between raw U-LAW and ".au" files is the header; the U-LAW
  785. data is exactly the same).
  786.  
  787. Finally, OpenWindows 3.0 has a full-fledged audio tool.  You can drop
  788. audio file icons into it, edit them, etc.
  789.  
  790.         Sun Sparcstation running Solaris 2.0
  791.         ------------------------------------
  792.  
  793. Under SVR4 (and hence Solaris 2.0), writing to /dev/audio from the
  794. shell is a bad idea, because the device driver will flush its queue as
  795. soon as the file is closed.  Use "audioplay" instead.  The supported
  796. formats and sampling rates are the same as above.
  797.  
  798.         NeXT
  799.         ----
  800.  
  801. On NeXT machines, the standard "sndplay" program can play all NeXT
  802. format files (this include Sun ".au" files).  It supports at least
  803. U-LAW at 8 k and 16 bits samples at 22 or 44.1 k.  It attempts
  804. on-the-fly conversions for other formats.
  805.  
  806. Sound files are also played if you double-click on them in the file
  807. browser.
  808.  
  809.         SGI Indigo and Personal IRIS
  810.         ----------------------------
  811.  
  812. On SGI Indigo, Indigo2 and the 4D/30 and /35 Personal IRIS workstations,
  813. "WorkSpace" plays audio files in .aiff, .aifc, .au, and .wav formats if
  814. you double click them and the sampling rate is one of 8000, 11025,
  815. 16000, 22050, 32000, 44100, or 48000.  On the Personal IRIS, you need
  816. to have the audio board installed (check the output from hinv) and you
  817. must run IRIX 3.3.2 or 4.0 or higher.  These files can also be played
  818. with "soundfiler" and "sfplay".  ".aiff" and ".aifc" files at the above
  819. sampling rates can also be played with playaifc.  (All in /usr/sbin)
  820.  
  821. There is no simple /dev/audio interface on these SGI machines.  (There
  822. was one on 4D/25 machines, reading and writing signed linear 8-bit
  823. samples at rates of 8, 16 and 32 k.)
  824.  
  825. A program "playulaw" was posted as part of the "radio 2.0" release
  826. that I posted to several source groups; it plays raw U-LAW files on
  827. the Indigo, Indigo2 or Personal IRIS audio hardware.
  828.  
  829.         Sony NEWS
  830.         ---------
  831.  
  832. The whole current Sony NEWS line (laptop, desktop, server) have
  833. builtin sound capabilities.  You can buy an external board for the
  834. older NEWS machines.  In the default mode (8k/8-bit mulaw), Sun .au
  835. files are directly supported (you can 'cat' .au files to /dev/sb0 and
  836. have them play.)  The /usr/sony/bin/sbplay command on NEWS-OS 6.0
  837. also supports Sun .au files.
  838.  
  839.         Others
  840.         ------
  841.  
  842. Most other UNIX boxes don't have audio hardware and thus can't play
  843. audio data.  This is actually rapidly changing and most new hardware
  844. that hits the market has some form of audio support.  Unfortunately
  845. there is nothing like X11 that provides a portable interface.  Perhaps
  846. DEC CRL's AudioFile system can fill the gap; it is network-transparent
  847. and supports at least Digital RISC systems running Ultrix, Digital
  848. Alpha AXP systems running OSF/1, Sun Microsystems SPARCstations
  849. running SunOS, and SGI Indigos.  The source kit is located at ftp site
  850. crl.dec.com (Internet 192.58.206.2) in /pub/DEC/AF.
  851.  
  852.  
  853. Playing audio files on the Vaxstation 4000 (VMS)
  854. ------------------------------------------------
  855.  
  856. 1) Without DECsound
  857.  
  858. ".au" files can be played by COPYING them to device "SOA0:".  This
  859. device is set up by enabling the driver SODRIVER.  You can use the
  860. following command file:
  861.  
  862. $!---------------- cut here -------------------------------
  863. $! sound_setup.com    enable SOUND driver
  864. $ run sys$system:sysgen
  865. connect soa0 /adapter=0 /csr=%x0e00 /vector=%o304 /driver=sodriver
  866. exit
  867. $ exit
  868. $!----------------- cut here ------------------------------------
  869.  
  870. 2) With DECsound (bundled with motif)
  871.  
  872. Just start DECsound by selecting it from the session manager in the 
  873. applications menu. (Not there use "@vue$library:sound$vue_startup").
  874. Make sure settings; device type (vaxstation 4000) and play settings
  875. (headphone jack) are selected.  To play files from the DCL prompt 
  876. (handy if you want to play sounds on a remote workstation) set a 
  877. symbol up as follows; 
  878. PLAY == "$DECSOUND -VOLUME 50 -PLAY"
  879. usage;
  880. DCL> play sound.au
  881.  
  882. 3) Audio port
  883.  
  884. The external audio port comes with a telephone-jack-like port.   For
  885. starters, you can plug a telephone RECEIVER right into this port to
  886. hear your first sound files.   After that, you can use the adapter
  887. (that came with the VaxStation), and plug in a small set of stereo
  888. speakers or headphones (the kind you'd plug into a WALKMAN, for 
  889. example), for more volume.  The adapter also has a microphone plug so
  890. that you can record sounds if DECsound is installed.
  891.  
  892.  
  893. Playing audio files on micros
  894. -----------------------------
  895.  
  896. Most micros have at least a speaker built in, so theoretically all you
  897. need is the right software.  Unfortunately most systems don't come
  898. bundled with sound-playing software, so there are many public domain
  899. or shareware software packages, each with their own bugs and features.
  900. Most separate sound recording hardware also comes with playing
  901. software, most of which can play sound (in the file format used by
  902. that hardware) even on machines that don't have that hardware
  903. installed.
  904.  
  905.         PC or compatible
  906.         ----------------
  907.  
  908. Chris S. Craig announces the following software for PCs:
  909.  
  910. ScopeTrax       This is a complete PC sound player/editor package.  Sounds
  911.                 can be played back at ANY rate between 1kHz to 65kHz through
  912.                 the PC speaker or the Sound Blaster.  It supports several
  913.                 file formats including VOC, IFF/8SVX, raw signed and raw
  914.                 unsigned.  A separate executable is provided to convert
  915.                 .au and mu-law to raw format.  ScopeTrax requires EGA/VGA
  916.                 graphics for editing and displaying sounds on a REALTIME
  917.                 oscilloscope.  The package also includes:
  918.                       * An expanded memory player which can play sounds
  919.                         larger than 640K in size.
  920.                       * Basic (rough) sound compression/uncompression
  921.                         utilities.
  922.                       * Complete documentation.
  923.                 The package is FREEWARE!  It is available on SIMTEL in the
  924.                 PD1:[MSDOS.SOUND] directory.
  925.  
  926. One of the appendices below contains a list of more programs to play
  927. sound on the PC.
  928.  
  929.         Atari
  930.         -----
  931.  
  932. For sounds on Atari STs - programs are in the atari/sound/players
  933. directory on atari.archive.umich.edu (141.211.164.8).
  934.  
  935.         Tandy
  936.         -----
  937.  
  938. On a Tandy 1000, sounds can be played and recorded with DeskMate Sound
  939. (SOUND.PDM), or if they not stored in compressed format, they can also
  940. be played be a program called PLAYSND.  No indication of whether
  941. PLAYSND is PD or not. It hasn't been updated since March of 89.
  942.  
  943.         Amiga
  944.         -----
  945.  
  946. On the Amiga, OmniPlay by David Champion <dgc3@midway.uchicago.edu>
  947. plays and converts IFF-8SVX, AIFF, WAV, VOC, .au, .snd, and 8 bit raw
  948. (signed, unsigned, u-law) samples.  As of version 1.23, OmniPlay will
  949. also convert any playable sample to 8SVX.  Files: wuarchive.wustl.edu
  950. in /systems/amiga/audio/sampleplayers/oplay123.lha (?)
  951. amiga.physik.unizh.ch in mus/play/oplay123.lha
  952.  
  953.         Apple Macintosh
  954.         ---------------
  955.  
  956. Malcolm Slaney from Apple writes:
  957.  
  958.  "We do have tools to play sound back on most of our Unix hosts.  We wrote
  959.  a program called TcpPlay that lets us read a sound file on a Unix host,
  960.  open a TCP/IP connection to the Mac on my desk, and plays the file.  We
  961.  think of it as X windows for sound (at least a step in that direction.)
  962.  
  963.  This software is available for anonymous FTP from ftp.apple.com
  964.  [IP address 130.43.2.3 -- Guido].
  965.  Look for  ~ftp/pub/TcpPlay/TcpPlay.sit.hqx.
  966.  
  967.  Finally, there are MANY tools for working with sound on the Macintosh. Three
  968.  applications that come to mind immediately are SoundEdit (formerly by
  969.  Farralon and now by MacroMind/Paracomp), Alchemy and Eric Keller's Signalyze.
  970.  There are lots of other tools available for sound editing (including some
  971.  of the QuickTime Movie tools.)"
  972.  
  973. Bill Houle sent the following lists:
  974.  
  975. Popular commercial apps are indicated with a [*].  All other programs
  976. mentioned are shareware/freeware available from SUMEX and the various
  977. mirror sites, or check archie for the nearest FTP location.
  978.  
  979. MAC SOUND EDITORS
  980.  
  981. Sample Editor [Garrick McFarlane, McFarlaneGA@Kirk.Vax.Aston.Ac.UK]
  982.   Plays AIFF and 'snd' sounds.  Can convert between AIFF and 'snd'.
  983.   Can record from built-in mic.  Can add effects such as fade,
  984.   normalize, delay, etc.
  985.  
  986. Wavicle [Lee Fyock]
  987.   Plays SoundEdit files.  Can convert to 'snd'.  Can record from built-in mic.
  988.   Can add effects such as fade, filter, reverb, etc.
  989.  
  990. [*]SoundEdit/SoundEdit Pro [Farallon/MacroMind*Paracomp]
  991.   Plays SoundEdit and 'snd' sounds.  Can read/write SoundEdit files and 'snd' 
  992.   sounds.  Can record from built-in mic.  Can add effects such as
  993.   echo, filter, reverb, etc.
  994.  
  995.  
  996. MAC SOUND PLAYERS
  997.  
  998. Sound-Trecker  [Frank Seide]
  999.   Plays Amiga SoundTrecker files in foreground or background.
  1000.  
  1001. Macintosh Tracker [Thomas R. Lawrance, tomlaw@world.std.com]
  1002.   Plays Amiga SoundTrecker files in foreground or background. A port of Marc
  1003.   Espie's Unix Tracker version with Frank Seide's core player thrown in for
  1004.   good measure.
  1005.  
  1006. The Player [Antoine Rosset & Mike Venturi]
  1007.   Plays AIFF, SoundEdit, MOD, and 'snd' files.
  1008.  
  1009. SoundMaster (aka [*]Kaboom!) [Bruce Tomlin]
  1010.   Associates SoundEdit files to MacOS events.
  1011.  
  1012. SndControl [Riccardo Ettore, 72277.1344@compuserve.com]
  1013.   Associates 'snd' sounds to MacOS events.
  1014.  
  1015. Canon 2 [Glenn Anderson, glenn@otago.ac.nz; Jeff Home, jeff@otago.ac.nz]
  1016.   Plays AIFF or 'snd' files in foreground or background.
  1017.  
  1018.  
  1019. The Sound Site Newsletter
  1020. -------------------------
  1021.  
  1022. An electronic publication with lots of info about digitised sound and
  1023. sound formats, albeit mostly on PCs, is "The Sound Site Newsletter",
  1024. maintained by David Komatsu <davek@uhunix.uhcc.hawaii.edu>.
  1025. Issue 14 appeared in July 1993.  As of that issue, the Sound Site
  1026. Newsletter has expanded its charter to include commercial products and
  1027. will appear monthly.  There is now also a sound site network of ftp
  1028. servers, bulletin boards and authors.  The Sound Site Newsletter (once
  1029. again!) has its own ftp site: sound.usach.cl.
  1030.  
  1031. The Sound Newsletter is posted to: comp.sys.ibm.pc.soundcard
  1032.                                    comp.sys.ibm.pc.misc
  1033.                                    rec.games.misc
  1034. FTP: oak.oakland.edu (misc/sound)
  1035.      garbo.uwasa.fi (pc/sound)
  1036.      sound.usach.cl (pub/Sound/Newsltr) [Home Base]
  1037.  
  1038.  
  1039. Posting sounds
  1040. --------------
  1041.  
  1042. The newsgroup alt.binaries.sounds.misc is dedicated to postings
  1043. containing sound.  (Discussions related to such postings belong in
  1044. alt.binaries.sounds.d.)
  1045.  
  1046. There is no set standard for posting sounds; uuencoded files in most
  1047. popular formats are welcome, if split in parts under 50 kBytes.  To
  1048. accomodate automatic decoding software (such as the ":decode" command
  1049. of the nn newsreader), please place a part indicator of the form
  1050. (mm/nn) at the end of your subject meaning this is number mm of a
  1051. total of nn part.
  1052.  
  1053. It is recommended to post sounds in the format that was used for the
  1054. original recording; conversions to other formats often lose
  1055. information and would do people with identical hardware as the poster
  1056. no favor.  For instance, convering 8-bit linear sound to U-LAW loses
  1057. the lower few bits of the data, and rate changing conversions almost
  1058. always add noise.  Converting from U-LAW to linear requires expansion
  1059. to 16 bit samples if no information loss is allowed!
  1060.  
  1061. U-LAW data is best posted with a NeXT/Sun header.
  1062.  
  1063. If you have to post a file in a headerless format (usually 8-bit
  1064. linear, like ".snd"), please add a description giving at least the
  1065. sampling rate and whether the bytes are signed (zero at 0) or unsigned
  1066. (zero at 0200).  However, it is highly recommended to add a header
  1067. that indicates the sampling rate and encoding scheme; if necessary you
  1068. can use SOX to add a header of your choice to raw data.
  1069.  
  1070. Compression of sound files usually isn't worth it; the standard
  1071. "compress" algorithm doesn't save much when applied to sound data
  1072. (typically at most 10-20 percent), and compression algorithms
  1073. specifically designed for sound (e.g. NeXT's) are usually
  1074. proprietary.  (See also the section "Compression schemes" earlier.)
  1075.  
  1076.  
  1077.  
  1078.